import request from "@/utils/request"

export function queryPageBanner(data) {
  return request({
    url: "/CBanner/queryPage",
    method: "POST",
    data: data
  })
}

export function queryOneBanner(data) {
  return request({
    url: "/CBanner/queryOne",
    method: "GET",
    params: data
  })
}

export function insertBanner(data) {
  return request({
    url: "/CBanner/insert",
    method: "POST",
    data: data
  })
}

export function updateBanner(data) {
  return request({
    url: "/CBanner/update",
    method: "POST",
    data: data
  })
}
export function deleteBanner(data) {
  return request({
    url: "/CBanner/delete",
    method: "POST",
    data: data
  })
}
